<?php 
echo Utils::breadCrumbs(array(
							array('label' => 'My beverage list', 'link' => 'preferences'), 
							array('label' => 'Confirm clear beverage list') 
						));

if ( isset($_POST['submit-delete']) ): 
$_SESSION['selection'] = array();
Utils::redirect('preferences');

?>
	
<?php else : ?>

<form method="post" action="index.php?p=deleteall">
	
	<h3>Do you really want to clear this beverage list?</h3>
	<p>Once cleared, you will loose all your beverages you have added.</p>
	<br />

	<p class="button_container">
		<img src="img/icons/ok.png" class="button_icon"/><input class="button green" type="submit" name="submit-delete" value="YES I do" />
		<img src="img/icons/cancel.png" class="button_icon"/><input class="button red" type="submit" name="submit-back" value="No, I want to keep my beverages" />
	</p>

</form>

<?php endif; ?>
